.class Lcom/wmr/Lstview/XListViewActivity$1;
.super Ljava/lang/Object;
.source "XListViewActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/wmr/Lstview/XListViewActivity;->onRefresh()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/wmr/Lstview/XListViewActivity;


# direct methods
.method constructor <init>(Lcom/wmr/Lstview/XListViewActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/wmr/Lstview/XListViewActivity$1;->this$0:Lcom/wmr/Lstview/XListViewActivity;

    .line 57
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .prologue
    .line 60
    iget-object v0, p0, Lcom/wmr/Lstview/XListViewActivity$1;->this$0:Lcom/wmr/Lstview/XListViewActivity;

    # getter for: Lcom/wmr/Lstview/XListViewActivity;->refreshCnt:I
    invoke-static {}, Lcom/wmr/Lstview/XListViewActivity;->access$0()I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    invoke-static {v1}, Lcom/wmr/Lstview/XListViewActivity;->access$1(I)V

    invoke-static {v0, v1}, Lcom/wmr/Lstview/XListViewActivity;->access$2(Lcom/wmr/Lstview/XListViewActivity;I)V

    .line 61
    iget-object v0, p0, Lcom/wmr/Lstview/XListViewActivity$1;->this$0:Lcom/wmr/Lstview/XListViewActivity;

    # getter for: Lcom/wmr/Lstview/XListViewActivity;->items:Ljava/util/ArrayList;
    invoke-static {v0}, Lcom/wmr/Lstview/XListViewActivity;->access$3(Lcom/wmr/Lstview/XListViewActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 62
    iget-object v0, p0, Lcom/wmr/Lstview/XListViewActivity$1;->this$0:Lcom/wmr/Lstview/XListViewActivity;

    # invokes: Lcom/wmr/Lstview/XListViewActivity;->geneItems()V
    invoke-static {v0}, Lcom/wmr/Lstview/XListViewActivity;->access$4(Lcom/wmr/Lstview/XListViewActivity;)V

    .line 64
    iget-object v0, p0, Lcom/wmr/Lstview/XListViewActivity$1;->this$0:Lcom/wmr/Lstview/XListViewActivity;

    new-instance v1, Landroid/widget/ArrayAdapter;

    iget-object v2, p0, Lcom/wmr/Lstview/XListViewActivity$1;->this$0:Lcom/wmr/Lstview/XListViewActivity;

    .line 65
    const v3, 0x7f0300cb

    iget-object v4, p0, Lcom/wmr/Lstview/XListViewActivity$1;->this$0:Lcom/wmr/Lstview/XListViewActivity;

    # getter for: Lcom/wmr/Lstview/XListViewActivity;->items:Ljava/util/ArrayList;
    invoke-static {v4}, Lcom/wmr/Lstview/XListViewActivity;->access$3(Lcom/wmr/Lstview/XListViewActivity;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-direct {v1, v2, v3, v4}, Landroid/widget/ArrayAdapter;-><init>(Landroid/content/Context;ILjava/util/List;)V

    .line 64
    invoke-static {v0, v1}, Lcom/wmr/Lstview/XListViewActivity;->access$5(Lcom/wmr/Lstview/XListViewActivity;Landroid/widget/ArrayAdapter;)V

    .line 66
    iget-object v0, p0, Lcom/wmr/Lstview/XListViewActivity$1;->this$0:Lcom/wmr/Lstview/XListViewActivity;

    # getter for: Lcom/wmr/Lstview/XListViewActivity;->mListView:Lcom/wmr/Lstview/XListView;
    invoke-static {v0}, Lcom/wmr/Lstview/XListViewActivity;->access$6(Lcom/wmr/Lstview/XListViewActivity;)Lcom/wmr/Lstview/XListView;

    move-result-object v0

    iget-object v1, p0, Lcom/wmr/Lstview/XListViewActivity$1;->this$0:Lcom/wmr/Lstview/XListViewActivity;

    # getter for: Lcom/wmr/Lstview/XListViewActivity;->mAdapter:Landroid/widget/ArrayAdapter;
    invoke-static {v1}, Lcom/wmr/Lstview/XListViewActivity;->access$7(Lcom/wmr/Lstview/XListViewActivity;)Landroid/widget/ArrayAdapter;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 67
    iget-object v0, p0, Lcom/wmr/Lstview/XListViewActivity$1;->this$0:Lcom/wmr/Lstview/XListViewActivity;

    # invokes: Lcom/wmr/Lstview/XListViewActivity;->onLoad()V
    invoke-static {v0}, Lcom/wmr/Lstview/XListViewActivity;->access$8(Lcom/wmr/Lstview/XListViewActivity;)V

    .line 68
    return-void
.end method
